package ifm4j.collections.treeCollections.arguments;

import ifm4j.collections.treeCollections.INonLeaf;
import ifm4j.collections.treeCollections.INonRoot;

public class TreeObjectAddedArgs extends TreeCollectionArgs {

    private INonLeaf parent;

    private INonRoot instance;

    public TreeObjectAddedArgs(Object sender, INonLeaf parent, INonRoot instance) {
        super(sender);
        this.parent = parent;
        this.instance = instance;
    }

    public INonLeaf getParent() {
        return this.parent;
    }

    public INonRoot getInstance() {
        return this.instance;
    }

}